home *** CD-ROM | disk | FTP | other *** search
/ Super Shareware Collection / Super Shareware Collection.iso / os_2 / pcx2ex14.zip / SCALEPCX.DOC < prev    next >
Text File  |  1994-02-01  |  1KB  |  35 lines

  1. SCALEPCX
  2. --------
  3.  
  4. ScalePCX scales a PCX file up or down to a user-provided size.
  5.  
  6. Use it like this :-
  7.  
  8. SCALEPCX nicepic.pcx [/x360] [/y480]
  9.  
  10.   nicepic.pcx is the file to convert
  11.  
  12.   /x360 scales the image to be 360 pixels WIDE ( horizontally )
  13.         The value should be between 1 and 800 inclusive.
  14.  
  15.   /y480 scales the image to be 480 pixels DEEP ( vertically )
  16.         The value should be between 1 and 600 inclusive.
  17.  
  18. If only one scaling parameter is provided, the other will not be altered.
  19.  
  20. For example, if PIC1.PCX is a 640 by 480 256 colour image, and you want 
  21. to reduce it to 360 by 480, then you would use the command
  22.  
  23. SCALEPCX PIC1.PCX /x360
  24.  
  25. Once SCALEPCX has scaled the image, it is displayed centred on the screen.
  26. If the image is too large to display, the cursor keys may be used to scroll
  27. around and view the complete picture.
  28.  
  29. To leave the program, press the Escape key. The scaled image will be written
  30. to a file; the file name is derived from the original name, with the two
  31. characters "S_" added to the beginning. If this causes the file name to 
  32. exceed 8 characters in length, the trailing characters will be lost.
  33. For example, HORSEBOX.PCX will become S_HORSEB.PCX.
  34.  
  35.